﻿<Canvas x:Class="Wpf3dCollaborative.Menu3D"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
            
               xmlns:local="clr-namespace:Wpf3dCollaborative"
        MouseEnter="UserControl_MouseEnter"
             MouseLeave="UserControl_MouseLeave"
             mc:Ignorable="d" 
             Width="280" Height="450" HorizontalAlignment="Left" VerticalAlignment="Top">

    <TextBlock FontWeight="Bold" Foreground="White" FontSize="20" Canvas.Left="6" Canvas.Top="7">CONFIGURATION</TextBlock>

    <TextBlock  Foreground="White" Canvas.Left="20" Canvas.Top="52">Disposition :</TextBlock>
    <ComboBox  Canvas.Left="96" Canvas.Top="46" Background="#FFA0A0A0" BorderThickness="0" BorderBrush="{x:Null}" >
        <ComboBox.Items>

            <ComboBoxItem Selector.IsSelected="True" Selected="ComboBoxItem_Selected">Grille</ComboBoxItem>
            <ComboBoxItem  Selected="ComboBoxItem_Selected_1">Caroussel</ComboBoxItem>
            <ComboBoxItem  Selected="ComboBoxItemCrous">Caroussel2</ComboBoxItem>
            <ComboBoxItem  Selected="ComboBoxItem_Selected_2">Caroussel+grille</ComboBoxItem>
        </ComboBox.Items>
    </ComboBox>


    <Button Content="Ajouter Coeur3D" IsEnabled="False" Height="23" Name="btnCoeur" Width="120" Click="btnCoeur_Click" Template="{StaticResource BoutonRond}"  Canvas.Left="154" Canvas.Top="74" />
    <Button Content="Ajouter Squelette" Height="23" Name="btnSquelette" Template="{StaticResource BoutonRond}" Width="120" Canvas.Left="16" Canvas.Top="74" Click="btnSquelette_Click" />


    <TextBlock Foreground="White" FontWeight="Bold" FontSize="20" Canvas.Left="6" Canvas.Top="145">ANIMATIONS</TextBlock>

    <Button Content="Soucoupe Volante" Height="23" Name="button2" Width="120" Click="btnSoucoupe" Template="{StaticResource BoutonRond}" Canvas.Left="20" Canvas.Top="244" />
    <Button Content="Rotation" Height="23" Name="button3" Width="120" Click="btnRotation" Template="{StaticResource BoutonRond}" Canvas.Left="20" Canvas.Top="215" />
    <Button Content="aucune" Height="23" Name="button1" Width="120" Click="btnAnimStop" Template="{StaticResource BoutonRond}" Canvas.Left="20" Canvas.Top="186" />
    <TextBox Height="23"  Name="txtTimeAnnim" Width="51" TextChanged="textBox1_TextChanged" Text="4000" Canvas.Left="198" Canvas.Top="215" />


    <TextBlock Text="PERIPHERIQUES" FontSize="20"  FontWeight="Bold" Foreground="White" Canvas.Left="6" Canvas.Top="302" />

    <ToggleButton Name="btnKinect" Checked="ToggleButton_Checked" Unchecked="ToggleButton_Unchecked" Height="125" Width="260" Template="{StaticResource toggleButtonTemplate}" Canvas.Left="14" Canvas.Top="319"></ToggleButton>
    <TextBlock Canvas.Left="154" Canvas.Top="218" Foreground="White">Durée : </TextBlock>
    <ToggleButton Canvas.Left="170" Canvas.Top="111"  Height="25" Name="btnCommand" Width="35" Click="btnCommand_Click" ToolTip="Masquer/Afficher le panneau de controle de la caméra" Background="#FF969696" BorderBrush="{x:Null}" BorderThickness="0" IsChecked="True">
        <Image Source="/wpf3dCollaborative;component/Images/telecom.png"></Image>
        </ToggleButton>
    <Button Canvas.Left="128" Canvas.Top="111" Height="25"  ToolTip="Ajouter une caméra" Name="btnAjouterCam" Width="35" Foreground="#FF00CA00" Click="btnAjouterCam_Click" Background="#FF969696" BorderBrush="{x:Null}" BorderThickness="0">
        <Image Source="/wpf3dCollaborative;component/Images/plus.png"></Image>
    </Button>
    <ToggleButton Canvas.Left="87" Canvas.Top="111" Foreground="#FF00CA00" Height="25" Name="btnFps"   ToolTip="Afficher les FPS" Width="35" Background="#FF969696" BorderBrush="{x:Null}" BorderThickness="0" Checked="btnFps_Checked" Unchecked="btnFps_Checked">
        <Image Source="/wpf3dCollaborative;component/Images/fps.png"/>
    </ToggleButton>
    <Button Canvas.Left="16" Canvas.Top="113" Content="Démo" Height="23" Name="btnDemo" Template="{StaticResource BoutonRond}" Width="55" Click="btnDemo_Click" />
    <Button Canvas.Left="211" Canvas.Top="113" Content="Clean" Height="23" Name="button4" Template="{StaticResource BoutonRond}" Width="55" Click="button4_Click" />
    <Canvas.Background>
        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            <GradientStop Color="#FF9D9797" Offset="0" />
            <GradientStop Color="#FF212121" Offset="1" />
            <GradientStop Color="#FF656565" Offset="0.012" />
            <GradientStop Color="#FF838383" Offset="0.529" />
        </LinearGradientBrush>
    </Canvas.Background>
</Canvas>

